From: Glenn Morris Date: Thu, 2 Feb 2012 04:13:02 +0000 (-0800) Subject: * etc/NEWS: prog-mode-hook was documented. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~990 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=8e125cbef6c78837ad4bdee8e40bb06b0b7e03d1;p=emacs.git * etc/NEWS: prog-mode-hook was documented. --- diff --git a/etc/NEWS b/etc/NEWS index 0138fa5192e..67aee36461b 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1283,6 +1283,7 @@ syntactic rules. *** `prog-mode' is a new major mode from which programming modes should be derived. ++++ **** `prog-mode-hook' can be used to enable features for programming modes, e.g. (add-hook 'prog-mode-hook 'flyspell-prog-mode) to enable on-the-fly spell checking for comments and strings.